package edu.ahut.designpattern.iterator;

import java.util.Iterator;

public class Application {
    public static void main(String[] args) {
        MySet<Integer> mySet=new MySet<>();

        Iterator<Integer> it=mySet.iterator();
        while(it.hasNext()){
            System.out.println(it.next());
        }
    }
}
